package com.udaos.models.physical;

import org.nutz.dao.entity.annotation.*;

import java.io.Serializable;
import org.nutz.dao.entity.annotation.Name;

import com.udaos.common.base.Model;
/**
* @author mutaotao
* @time   2017-02-08 15:33:29
*/
@Table("ud_physical_code")
public class Ud_physical_code extends Model implements Serializable {
	private static final long serialVersionUID = 1L;
	@Column
	@Name
	@Prev(els = {@EL("uuid()")})
	private String id;
	@Column
	private String company_id;
	@Column
	private String batch_id;
	@Column
	private String sn;
	@Column
	private String code;
	@Column
	private Integer state;
	@Column
	private String bill_type;
	@Column
	private String bill_id;
	@Column
	private Integer drawat;
	@Column
	private Integer useat;
	@Column
	private String createBy;
	@Column
	private Integer createAt;
	
	public String getId()
	{
		return id;
	}
	public void setId(String id)
	{
		this.id=id;
	}
	public String getCompany_id()
	{
		return company_id;
	}
	public void setCompany_id(String company_id)
	{
		this.company_id=company_id;
	}
	public String getBatch_id()
	{
		return batch_id;
	}
	public void setBatch_id(String batch_id)
	{
		this.batch_id=batch_id;
	}
	public String getSn()
	{
		return sn;
	}
	public void setSn(String sn)
	{
		this.sn=sn;
	}
	public String getCode()
	{
		return code;
	}
	public void setCode(String code)
	{
		this.code=code;
	}
	public Integer getState()
	{
		return state;
	}
	public void setState(Integer state)
	{
		this.state=state;
	}
	public String getBill_type()
	{
		return bill_type;
	}
	public void setBill_type(String bill_type)
	{
		this.bill_type=bill_type;
	}
	public String getBill_id()
	{
		return bill_id;
	}
	public void setBill_id(String bill_id)
	{
		this.bill_id=bill_id;
	}
	public Integer getDrawat()
	{
		return drawat;
	}
	public void setDrawat(Integer drawat)
	{
		this.drawat=drawat;
	}
	public Integer getUseat()
	{
		return useat;
	}
	public void setUseat(Integer useat)
	{
		this.useat=useat;
	}
	public String getCreateBy() {
		return createBy;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}
	public Integer getCreateAt() {
		return createAt;
	}
	public void setCreateAt(Integer createAt) {
		this.createAt = createAt;
	}

}